package com.lgy.ms.api.business;

import com.lgy.ms.core.bean.RequestParams;
import com.lgy.ms.core.bean.ResponseParams;
import com.lgy.ms.core.exception.BusinessException;

/**
 * @author Gylin
 */
public interface IAppSysUserService {

    /**
     * 新增用户
     */
    ResponseParams<Object> add(RequestParams requestParams) throws BusinessException;

    /**
     * 分页查询
     */
    ResponseParams<Object> queryByPage(RequestParams requestParams) throws BusinessException;

    /**
     * 登录
     */
    ResponseParams<Object> login(RequestParams requestParams) throws BusinessException;

    /**
     * 登出
     */
    ResponseParams<Object> logout(RequestParams requestParams) throws BusinessException;

    /**
     * 修改密码
     */
    ResponseParams<Object> modifyPwd(RequestParams requestParams) throws BusinessException;
}
